Fix bug in symbolic expansion of inverse for 1x1 matrix.
Fix import error.
Merge branch 'martinal/fix-symbolic-inverse-1D-bug'