Rename sample_size to num_measurements
Update readme and amalgamation