Added new functionality for ScenePosition
Implemented Matrix

Implemented matrix functions including translate, scale, and rotate
Added validation for rotation