Linspace method changed