finished fit and predict methods for PMIGraph class