moved karma dependencies into devDependencies
refactored isOutOfBounds to use a ternary operator
Version 1.2

* moved karma to devDependencies in package.json
* refactored isOutOfBounds to use a ternary operator