throw meaningful exception instead of random segfault

matlab allows calling a function without supplying all the args, but in
mcvm this segfaults. I suspect the called function expects arguments at
certain memory location, but it tries to read them without checking. I
don't know exactly how to fix. For now, I added this check so instead of
random seg fault, at least mcvm emits a meaningful message.