Adds Linspace and Clamp

Adds Linspace for generating linearly spaced arrays of double values.

Adds Clamp, a generic static extension method for clamping between a
minimum and maximum value using IComparable.