added public void draw(PGraphics canvas, float[] average, boolean beat) to interface and classes