Added line and ray classes