but he had been programmed for grace and coordination under all circumstances , and it took him no more than a microsecond to calculate the nature of the motions necessary to propel him through the water just below the surface-the rhythmic kicking of the legs , the lifting of the arms , the cupping of the hands .