jcr matlab code for 2d pwld