lots little changes. setter/getter->autoproperties; renaming; const field->readonly; double formatting
add check for Triangle inequality