First order structural phase transition in CaFe$_2$As$_2$