Implemented general purpose differential calculator