Removed call to Rmath.h.
added a fresh Rmath.h