a few small fixes

assert that there are at least 3 images in NEB