Refactoring: use Context.empty in Context.linspace
NDArray: remove synchronous get and set methods