added variable analysis script for compiling cell array of data