updates to how matricies are scaled and geneticmodel