Generalized Calculus with Applications to Matter and Forces