Text this: Effect of dephasing on single-qubit roatation gates