Add conversion from/to arrays for matrices and vectors.

Use `.as_array()`, `.as_array_mut()`, `.from_array_ref()`, `.from_array_mut()`.
Fix #33.