fiducials.cpp restored to original