Added a new tunable parameter that controls the order of loops in the innermost loop nest - ijk, ikj, jik etc.
Of course, added in the quickest and dirtiest way possible. Will clean up in the near future.