MULTIVARIATE ANALYSIS AND SOFTWARE DESIGN FOR GENOME-WIDE ASSOCIATION STUDIES