correct triangle height calculations
previously the "y" offset was not being calculated so this was added. Also added interspace to avoid mixing border pixel values from surrounding patches.
added missing offset calculation in loop
corrected formula for calculating numBlocks
fixed yOffset calculation
Merge pull request #17 from vascoosx/offset_fix

Added corrections by vascoosx:
-correct triangle calculations for lbp/gradient filters
-fixes in numBlock calculation
Some small formatting fixes + rebuild
Merge branch 'dev' of github.com:auduno/clmtrackr into dev

Conflicts:
	clmtrackr.min.js