Added code for burial relatives, fixed bugs