Loading math fix, Model loading inline