Adding my "fix" to make dense sparse dot products efficient. Code is ugly due to limitations of la4j's API