getbasispenalty function

Evaluate a Roughness Penalty Matrix