Import balancing algorithm prototyped in [this project](https://github.com/CallumGilly/boatBalanceTest2) by myself