32bit mult overflow fix

Multiplication needs to be 64bit, to handle overflow regardless of the bittedness of the machine, fixes #771

Test is not run by default. Hangs when run through a testfixture. 

No, left over from trying to make it work in the test runner.