A simple utility, used internally, mostly by Ldk methods,
in some graphical functions, and notably in l2a.
Returns an array of landmarks arranged as (nb.ldk) x (x; y) x (nb.shapes)
,
when passed with either a list, a matrix or an array of coordinates.
If a list is provided, checks that the number of landmarks is consistent.