Changed the catalysis query and function

I now understand better how it works, but can't really program it correctly
It will not return the right transition
Yes, there are a lot of loops again, but that is because the net is not yet fully generated
Also I have noticed that the returned values of the query with the biochemical reaction always has a length of 4, so it skipps the reactions with more than 1 left or right place or just ignores some of them.