Fix getPlane() using store/pixels object input
Fix the training example to use the new signature