Added dynamicMultilayerMap to multilayerMap.h/cpp