new to-do items for vector slicing and matrix flattening
new accessor functions in model, partway done
added error messages for sampling anything other than a parameter