'KLrrandarray' to modular form