I think it's better to, especially when first developing a calculation, to write a larger number of simpler functions, rather than a small number of complicated functions, especially for debugging purposes. This goes along with the idea of using functional programming whenever possible.