Expanding the Scope of Random Feature Models: Theory and Applications