Add missing expand_args = True
Another more universal pseudo-inverse routine
Several test scripts