UPDATE

contains updates and resolves some errors.
Some comparisons have been done with Yokogawa scripts but extensive
comparisons may be needed.
UPDATE