Silence warnings for singular matrices