Rotation invariant patterns

- fixed rotation invariant patterns
- huge performance improvement
- code refactorization
Remove unnecessary file
Readme update

- readme update
- package.json update
- test fix
Merge pull request #1 from LukaszKrawczyk/master

update fork