lots of updates

new aggregation method in mysql
update to sql view creation
updates to navie bayes - added discrete nodes and kmeans clustering