Second implicit derivative calculator