added mathematica stuff forgotten long ago