getCostTurn updated for negative angles