An algorithm to compute algebraic relations between modular functions | Synapse