Ab-initio investigations on dynamical and lattice thermal behaviours of ThC