Added functioning differentiation along arbitrary axes. May not be
terribly fast yet, but should be fully functional.