Mathematica Setup

Added all previous mathematica code