Fix thw warnings about overload in Matrix and BLAS