An Online Boosting Algorithm with Theoretical Justifications