Added unif resampling of hmats with slerp.