<Verb>StandardCocycle(R,f,n):: FreeRes, List, Int --> Function</Verb>
<Verb>StandardCocycle(R,f,n,q):: FreeRes, List, Int --> Function</Verb><P/>

Inputs a free <M>\mathbb ZG</M>-resolution <M>R</M>
 (with contracting homotopy), a positive integer <M>n</M> and an integer vector
 <M>f</M> representing an <M>n</M>-cocycle 
<M>R_n \rightarrow \mathbb Z_q=\mathbb Z/q\mathbb Z</M> where <M>G</M> acts trivially on <M>\mathbb Z_q</M>. 
It is assumed <M>q=0</M> unless a value for <M>q</M> is entered. The command 
returns a function <M>F(g_1, ..., g_n)</M>
 which is the standard cocycle <M>G^n \rightarrow \mathbb Z_q</M>
 corresponding to <M>f</M>. At present the command is implemented only for <M>n=2</M> or <M>3</M>.
