Calculate ROT out of SK compass data in Node-RED - Signal K