u r a geniune!
thx!

i got it to work!
cool!
the code looks like this

[code]n=ns;
gx=new double[n][n]; gy=new double[n][n];
for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
gx[i][j]=0;
gy[i][j]= g;

}
}[/code]