Make function arguments more reasonable
Iterator matrix with different ways