added hitmap calc + plotter