Implemented all operations. Pending some tests
Clean code
Rename some vars
Merge pull request #26 from akustik/master

Implemented all operations