James Tomkins has admitted the time he spent at the Olympics contributed to him losing his place in the West Ham side.