fixed angle-bug in rotation.cpp