new 2 parameter sweep function

created so we can run each version separately