Algorithms for simulation of animal models with multiple traits and with maternal and non-additive genetic effects