Included methods

I included my two fully optimized methods. Feel free to look over them.
Merge pull request #2 from Dutchraptor/Master

Included methods (from: Dutchraptor)