switched percent difference calculation