c# placing 3d objects by Matrix3d.AlignCoordinateSystem

Hi,
I try to make a function for import some 3d objects from database. 
all objects are defined by its dimensions, center point and direction vectors...

For creation of box I use these functions:

Solid3d sol = new Solid3d();
// create box by defined size
sol.CreateBox(width, depth, height);

// fill matrix for transformation and transform
Matrix3d ma = Matrix3d.AlignCoordinateSystem(Point3d.Origin, Vector3d.XAxis, Vector3d.YAxis, Vector3d.ZAxis,
  center,directionAxeX,directionAxeY, directionAxeX.CrossProduct(directionAxeY));
sol.TransformBy(ma);
AddToModelSpace(sol);

It is strange that when I fill matrix this way it does not do any transformation. I am sure that values in database are ok.

Does anybody know where is problem? 

Thanks
Marek Falta