rank-k regression now uses fminunc to set prior on Wb and w separately