Fixed initial implementation.

> Fixed overflow problems in arithmetic operations
> Fixed key stream ordering
> Added new test vector
> Added documentation to project