An orthodox implementation of LOF with C++.