Updated cntl header and source to use switch and pointers instead of
loops and arrays and without use of coef update