More checks and documentation about the sizes x and xd need to have in integrateStart and integrateStep