Cleaned the code and updated version number.