Self focusing smart contact lenses