[BugFix] Layered Prism Mesh Construction

This fixes an issue where mesh elements where constructed from the wrong set of nodes if the element in question would include nodes spanning more than one subsurface layer.