#define FRAMERATE = 100.0
#define FRAMERATE 100.0
I think you also meant the predict quantities were zero, not the update!