Calculating works (thought there seems to be an error in plane generation)