matlab, r, and bash scripts for data processing & analysis