object cleanup is causing problems; removed Element delete; also removed setDof from Element, it was not needed