Basic cost matric manipulation