Merge pull request #15 from snoweye/master

windows checked
fixed compiler warnings
formatting
fixed error call in prcomp, compiler warnings
migrate to RNACI
Merge pull request #1 from wrathematics/master

updates