Fixing minor memory leak
Checking that parallelisation factor is sensible; avoiding use of math.h functions for portability
Using R CMD LINK for tractor binary