Making deltax and xmin doubles