Created zero offset calculation and addition as seperate module