detecting tool positions.................... among other things...........
updated rasware branch