Add extends method to Vector class ; add epsilon to collision error correction