Step counter algorithm for smartphones (@Oxford-step-counter)