Freeform lens design for LED illumination