The inverse of the generalized vandermonde matrix through the partial fraction expansion