Advanced measurement techniques for market and operational risk