Migrated create_metapupil to lib/loc.c
Migrated addnoise to lib/misc.c
Merge branch 'master' of github.com:/lianqiw/maos
Changed int*, double* to imat* and dmat* in parms