First implementation of pelos method.  version to 0.1.2. Export everything for debugging.