major distributions overhaul. added image plotting and debugged a few major problems. added matrix heatmapping too for kicks