small speed up, fixed problem of 0 incipients

still profiling code, small speed up by avoiding two lookups in line 43
addition of test that numincipient > 0 when good dies skips loop (and
error in matrix)