Addresses #160. Seems to work. Atleast gives a corr of 1.0 for same meter, which indicates it to be working!