If you don't show us the real format of your input file(s) and show us the actual output you're trying to produce from that input, it is hard for us to guess at what might work for whatever you are trying to do.
Without knowing what operating system you're using, we can't know what extended features available in some versions of awk might be available for use in your script.
What do you expect to get when you calculate the sum ASPM + ASPM ?
Is the data in all of your fields starting with field #3 through field #366 in floating point format with three digits after the decimal point? If not, what is the general format and what format should be used for the output?
The logical expression in front of the ? is evaluated; if TRUE, the value of the expression between that and the : is the result to be used / assigned, if FALSE, the trailing one. Available in many other languages and shells as well.
Assuming your col-1 and col-2 are the same, this worked for me with your example data with hard-coded tab and format %4.4f, which need be changed according to your real data:
awk -v OFS="\t" '{for (i=3; i<=NF; i++) A[$2]+=$i} END{for(k in A) { printf("%s\t%s\t", k, k); for (j=3; j<=NF; j++) {printf("%4.4f\t", A[k][j])}; printf("\n")}}' infile.dat