Fixes #15

This pull request fixes issue #15, updates the version number, fixes indentation and add code to handle cases where the function zIndex would return -Infinity.