add constant parameters
codes for testing our codes with simple dx and dm
took out mean/var of individual X and M solutions