Changed slope to angles