A method to determine the distribution of pinning energies: 90° rotating sample magnetic measurement