Return ErrSingular for singular matrix solves

Fixes issue #30.