C: Print mathematica double array