Update version to 1.4.0

Updated HISTORY and README to reflect changes.