start new version of calculating the mesh

Signed-off-by: LK <LK@uni>
mesh calculation ready - inputs look ok - check for side padding...

Signed-off-by: LK <LK@uni>