Fix bug #39, about an array that was supposed to be in scalar context but wasn't. Some documentation, some cleaning