profile_rotation function

Test rotation invariance of index functions for selected 2-d data set.