See other comments about returning vectors of reals.