fixed bug: added statistics.cost_functions to import
moved around some directories
deleted from global