fix the bug of getRotationArray2D

fix the bug of getRotationArray2D