wip: debugging weights initialization
wip: costfunction needs testing and validation