renamed typical method and commenting out cci since we need mean absolute deviation method