Implemented Multi Direction Detection Requested on Issue #6