Fixed groups always reordering the entities. Some JE::MATH:: functions now use templates.
Merge branch 'master' of https://github.com/Distraxel/jeEngine