Implemented compute_frame_parameters()
Implemented buffering.
Merge pull request #1 from snow4life/Cache

Cache