Function to add a genotyping array for the population
diag.mobps(elements)
elements
vector with entries to put on the diagonal of a matrix
Diagonal matrix
diag.mobps(5)