A low-cost residual stress measuring instrument