mean by step deviation method