Fixed bug in subtracting bkgs from data