added numerical.cpp, numerical.h for various manipulations that don't require too many of the parameters that are currently global in dynamix.cpp