Sliding Mode Control with Time-Varying Delays and Randomly Occurring Nonlinearities