Efficient computations of genomics relationship matrix and other matrices used in the single-step evaluation