added new function to compute the distance of point to line.
added config info for the elbow.
modified pt distance computation function signature
added comments to the source.
refactoring to consider the elbow positions
refactored object controller to read all needed info from config file
elbow information added.
elbow position computation done!