EVERYTHING fixed now

added getposdiag method