Fixed performance issue - now performance is same as in Matlab