Study of J/psi production and cold nuclear matter effects in pPb collisions at root S-NN=5 TeV