jklew: Implemented endpointslope.h/cc and modified monocheck_tester.cc to test