Computes the cartesian product of the sets of doubles and returns a list holding the rows of the cartesian product with each row represented as a list.