Added support for speed_turn calculation and added convenience functions