Added A and N for parent bed

A and N are now read in for each layer in bed.sdf