On the use of mathematically-derived traits in QTL mapping