Parallelization of GLAD

remember to run matlab pool before using it