Added tests
Fixed bug in \max exposed by tests
Merge branch 'master' of github.com:urdh/skmath