Changed version to release version 0.4.0