code cleanup
Williams %R initial implementation