Rename Training_data to pixel_data, and extract_observed to get_pixels.

Also updates for R CMD check.