added matrix:map-in-place primitive