A step-wise algorithm for heading estimation via a smartphone | IEEE Conference Publication | IEEE Xplore