Added diff equatations calculations #2