Optimizing computer models of corticospinal neurons to replicate in vitro dynamics