removed multiple initialization files and made some changes in inference.m to avoid size mismatches