Improved alignment (added continuous and single reference modes)
Moved IndexMesh to arrays, fixed scene tree transformations