Merge pull request #1 from OHI-Science/master

adding portable code
Merge pull request #25 from Melsteroni/master

Merge pull request #1 from OHI-Science/master