Started implementing the final form of the revolve operation.