Need to find a way to transfer double [][]