Some functions were also called from so3, in those cases rather than writing the entire general function I have only included the case needed.
I've also tried to include a brief description for each function, but for some of the functions towards the end I wasn't 100% sure on what they were doing, so I expect I will have to alter them after review.
This incorrectly included the parameters file, so I'm going to make sure it's all branched correctly then resubmit a PR with only the dimension helper file.
Code for issue #8 . Includes three sections of code:
Some functions were also called from so3, in those cases rather than writing the entire general function I have only included the case needed.
I've also tried to include a brief description for each function, but for some of the functions towards the end I wasn't 100% sure on what they were doing, so I expect I will have to alter them after review.