moving functions into their own files
moved fixed point fns into their own file and added some comments
most of the sets of functions are broken out into their own files, added code to compute the scalings and the wijk