move $fn out of module definition
add parameters to render rails onto track
Fix non-manifold edge