Added 2D contouring code written in Matlab