matrix: Remove unsafe cast in from_2d_array().
matrix: Remove unsafe cast in from_2d_array().

We want to have type safety here and this could possibly blow up if the
input and output element types are different and not convertible.

Signed-off-by: aszlig <ee1aa092358634f9c53f01b5a783726c9e21b35a@redmoonstudios.org>

aszlig/hase