add matrix mathod rotating 90 degree