ShapePriorGP.trainGP works without crashing. Not sure if it's doing the right thing (it likely isn't entirely)