Moved parameter sampling and msb to lsb conversion to a separate process. Init now uses parameter registers.