Implemented the sine processing method.
All devices meet the basic_lockable concept
Got rid of most of the macros and redefined LOCK