Updated version number to v0.4.0