all matrices match in test example now #4
added comments about differences between R and matlab dimensions in fix #4