- Split calculation of speeds into generic method to allow other models to use.
- Fix issues in test.
- Add settings for gpio lap and gpio layout.