separated Factory and Industry in Calculus
fixed Calculus so it works again, except gradients and hessians