Particle In A Box Matlab Code