Multi-line alg inversion.gs