Converts a vector to a complex number.

// Returns 2 + 3i
const z = Chalkboard.vect.toComplex(Chalkboard.vect.init(2, 3));