Added formula to make controls linear to fix #34