Added get_reverse to HingeBasisFunction

The method get_reverse was added. Still needs to be added in the header file