Creates a linearly spaced array of values.
Normalizes an angle to the range (-π, π].
Rotates a 2D vector by a given heading angle.