First attempt at multilocus inheritance routine