fix the tr call on OS X
Merge pull request #10 from JDeuce/master

fix tr on OS X
Merge pull request #11 from DJSymBiotiX/python_implementation

Separated core python implementation from the implementation that uses the numpy external library.