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 what they were doing, so I expect I will have to alter them after review.
Note: I accidentally saved both this and the parameters class function to this branch. I have since deleted that file (hence, I think, why it says 3 commits rather than 1) but hopefully this PR now only includes the relevant file.
Code for issue #8 . Includes three sections of code:
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 what they were doing, so I expect I will have to alter them after review.
Note: I accidentally saved both this and the parameters class function to this branch. I have since deleted that file (hence, I think, why it says 3 commits rather than 1) but hopefully this PR now only includes the relevant file.