fixes to initial matrix generation to account for person values