Beyonce 'experimented' with her hair before finding the right product