added gradient-enhanced arithmetic, began work on array-to-datum dimension tracking