First implementation of imposition calculator