Added get_reverse ot hinge basis function and added a unit test