MATLAB-based Finite Element Programming in Electromagnetic Modeling