Added new mat constructor to the hs bindings.