Rotate matrix by 45 degrees in java. Left Rotation respectively.