Added LSD sample. Removed python macros.