Fixed float for feature weights
Added computation of HAAR features