Fixed bug in mac calculation
Added dev requirements