Efficient Algorithms for Multivariate Linear Mixed Models in Genome-wide Association Studies