Added method for rotating matrix by 180 degrees
Added method fo transposing matrix
reworked methods for rotating matrix by 90 and 270 degrees