minor changes

use float for pence per unit
made independent of emonhub