boss_map: added support to multidimensional matrices as images