Fixed getHistoricalConditions, improved units