After trying for many many hours, I finally got the definition out!!!!!
The reason why it does not work in for so long is because of the amount of points does not match with one another. Therefore, I realised I have to shift list or reverse list in order to arrange the points.
Below are the steps:
With this definition, I could (1) increase or decrease the amount of triangles in the X/Y axis, (2) adjust the size of the small triangular holes, (3) height of the small triangles in the Z axis.
Attached below is the link for the definition in Grasshopper: