converting to C-XSC interval library. edited point.h