Start reworking compute() to accept array as input