Add deviation calc