now a few more loss functions also segmenting and optimising over several cells