Less reshaping in map_feature.
Updated less relevant comment.
Optimized vstack calls in map_feature.