Fix #each, #map for matrices. Fix #98, #97