Fixed bug when called by Sage matrix instead of SL2Z element
changed debugging output