Changed lists to vectors for points representation, added plotting