moved diff calc to model, added to readme