Updating version to 1.4.0 and updating documentation