2D vector class for AS3