source code for matlab wrapper from https://github.com/christianpanton/matlab-json
modified Makefile for compiling matlab wrappers