fixed bug in mdlInitializeSizes