Changed filepaths
added line-rect overlap test