NDPluginStats add array callbacks

This commit adds NDArray callbacks to NDPluginStats and adds the plugin attributes to the NDArray.