Performance tuning

Doing less complex arithmetic helps by a factor of about 30. The COBOL
procedures are still 15-40 times slower than the corresponding X"F4" and
X"F5" library routines. But this is better.