Added norm function to numfeature interface for faster adaboost