Fix for issue #40.
Version number changes for 0.3.1