Implementation of Gradient-iterative Least Squares on Estimating the Quaternion Component for GNSS-based Attitude Determination