Removes bc dependancy and now uses bitcoin average