Expands compute() to take up to 22 arguments