Initial commit of spatial tuning analysis code