Made vector from angle functions and added a setLength(length) function