remove stray elements from commutation parameters struct
fix typos and rename some functions
move channel communication macros from common header file to the source
files which use it
use C library function to calculate absolute values
prevent timers from "running away"