linspace accepts now double values