bezier curve problem

I am doing 3d max plugin application.In there keyframe interpolation.they claimed to use bezier curve. But bezier i know is interoplated from four control pointer. However they give bezier control points with following parameters.
The in tangent value.

The out tangent value.    

The in length of the horizontal handle.

The out length of the horizontal handle.

and the control pointer current value.

How i can contruct bezier matrix based on that.thanx for any help.