Added reference point routine to OpMod.cpp, still in progress