Added MOG and MOG2 algorithms

including the algorithms and a sample, an accuracy test and a performance test.