# [Japt], 10 bytes

    ñ_íV'- m²x

Takes points as an array of three-item arrays and the base point an a single array, in that order. Does not take the size argument.



[Try it online!][1] or run the [huge test case][2] with `-R` to output one `x,y,z` per line.

[Japt]: https://github.com/ETHproductions/japt

[1]: https://ethproductions.github.io/japt/?v=1.4.5&code=8V/tVictIG2yeA==&input=W1s3MTcyLCA1MDUyLCA0Nzk1XSwgWzk3ODksIDQwMzMsIDI5NTJdLCBbODI0MiwgMjEzLCAzODM1XSwgWzE3NywgNzA4MywgOTA4XSwgWzM3ODgsIDMxMjksIDMwMThdLCBbOTA2MCwgNDY0LCAyNzAxXSwgWzY1MzcsIDg2OTgsIDI5MV0sIFs5MDQ4LCAzODYwLCA2MDk5XSwgWzQ2MDAsIDI2OTYsIDQ4NTRdLCBbMjMxOSwgMzI3OCwgOTgyNV1dCls4NDUyLCAzMTYwLCA2MTA5XQotUg==

[2]: https://ethproductions.github.io/japt/?v=1.4.5&code=8V/tVictIG2yeA==&input=W1s0LCA2LCAyXSwgWzcsIDUsIDNdLCBbMTAsIDUsIDJdLCBbOSwgOCwgOV0sIFsxMCwgNSwgMTBdLCBbMSwgNSwgNF0sIFs4LCAxLCAxXSwgWzgsIDYsIDldLCBbMTAsIDQsIDFdLCBbMywgNCwgMTBdLCBbNCwgNywgMF0sIFs3LCAxMCwgOV0sIFs1LCA3LCAzXSwgWzYsIDcsIDldLCBbNSwgMSwgNF0sIFs0LCAzLCA4XSwgWzQsIDQsIDldLCBbNiwgOSwgM10sIFs4LCAyLCA2XSwgWzMsIDUsIDFdLCBbMCwgOSwgMF0sIFs4LCA0LCAzXSwgWzAsIDEsIDFdLCBbNiwgNywgNl0sIFs0LCA2LCAxMF0sIFszLCA5LCAxMF0sIFs4LCAzLCAxXSwgWzEwLCAxLCAxXSwgWzksIDEwLCA2XSwgWzIsIDMsIDldLCBbMTAsIDUsIDBdLCBbMywgMiwgMV0sIFsxMCwgMiwgN10sIFs4LCA0LCA5XSwgWzUsIDIsIDRdLCBbMC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