Small quality of life improvements to basic examples.
Created by: NAThompson
The commit gives a more informative error message when the .bp file has not been written by the corresponding writer, and uses the std::vector<Real> instead of the Real* call so that we avoid segfaults.