Matter effect in presence of a sterile neutrino and resolution of the octant degeneracy using a liquid argon detector