Added LSD accuracy tests.
Added a sample to show usage of the class.