A DFT study of a model compound of vitamin D