numpy must be > 1.4 for matplotlib
fix indenting and make results a table