Slowtests

Improved speed of regression tests and improved speed on others.  This is probably the extent of 'quick' fixes to speed improvements.  Any further improvements will have to make significant changes to the code and will be on another branch.