Development of an innovative low-cost MARG sensors alignment and distortion compensation methodology for 3D scanning applications