Effect of pre-equilibrium phase on RAA and v2 of heavy quarks in heavy ion collisions