Vectorized evalPhi