small change to strain calculation