First-Principles study of an S = 1 quasi-1D quantum molecular magnetic material