Added an extra convenience method for interoperating between matrices and space basis

Signed-off-by: Martin Evans <martindevans@gmail.com>