Added matrix rotation function

Rotation is done via CSS