An alternative method for expanding the product of two slater wave functions