arrayspecs function

Convert landmark data matrix into array (p x k x n)