Changed the error message.
Fixed typo
Populate location_samples with all samples.