Statistics for Generalizations of All-or-Nothing Transforms and their Application in Secure Distributed Storage