svd_analysis script close to perfect,
initial but messy plot script