Updated framelen to be a function and add test
Previously framelen
was a class that was called once so had to be initialised each time. I have changed this by turning it into a function and by using a dictionary to contain the required variables. I have also added a test to check that it is performing as expected.
Edited by Rhys Poulton