adding matlab analysis script