locations function

Extract Gradient Locations