Speed of light through different mediums