name says it all. we can remove it later. wanted to expose the fact that this code does the same as the matlab implementation