Fixed an undetected bug in matrix structure (birth and death were swaped, added a test to catch it next time