fixed some run-time errors which may appear on some platforms
Merge branch 'master' of https://github.com/JeffreyRacine/R-Package-np