Moved to bsxfun according to suggestion
More manual, typos etc.