Array indexing added to math.functions