Changed version number
Fixed bug #1 by adding a test for the issue and fixed the incorrect use of .apply method