Scientific Computing with Diffractive Optical Neural Networks