Anisotropy in the resistivity of NbSe2