change double[][] to Double[][]; storm forces you to cast from Object to double[][] and vice versa