Replaced j7 degtorad with GLM's function

Theirs uses templates and is probably better