Development and characterization of a 3D cone beam tomography system