Decomposition and Reconstruction of Complex Spreadsheet Functions