[UPDATE] linspace and tests.