Breaking out the numeric integration code into its own file