MAINT: remove more usage of numpy matrix

This PR removes old numpy.matrix calls from the matrix functions code.  It also deprecates `scipy.linalg.special_matrices.all_mat` which is part of the scipy public interface.  This PR together with an earlier PR remove all usage of `all_mat` within scipy.