added the functions hcat and vcat for matrix concatenation as described in ticket #646.
Authored by: raph-z 2022-03-23
Parent: [r1102]
Child: [r1104]