Task c partly implemented

Volume Cost is calculated in segmentation.m but only for the first frame
at the moment.