fixed a bug where a forward declaration was identified as a class
fixed problem with size of agents
updated code of analysis