diamond analysis