Added litteral implementation of the first accelerated algorithm (but as expected it isn't really better than my simplified version)