all debugging print statements under debugPK flag now, which is set at the beginning of relevant functions
fixing merge conflict 1
adding ability to import dynamics file and compute derivatives