Nuclear parton distributions at next to leading order