NMR spectra from powdered solids spinning at any angle and speed: simulations and experiments