Decided on C. Worked out number of samples to read in. Sort of.