Added logspace which mimics Matlab/octave's logspace.

I needed the logspace utility for a pet project of mine, thought I might as well push it upstream.