Quantitative interpretation of giant magnetoresistance properties of permalloy-based spin-valve structures