changed get profile loc function so that it only gets profile origin

This allows it to be put in the data class, not setup.