Modeling studies of amorphous carbon