Modification of CLASS code to include lower neutrino hierarchies