function probabilityDataToJson(data) {
    return {
        probabilities: Seq.range(data.height()).map(k => Complex.realPartOf(data.cell(0, k))).toArray()
    };
}
Produces the exported simulator data associated with a probability display.
@param {!Matrix} data
@returns {!{probabilities: !float[]}}