Data analysis
http://www.personal.psu.edu/jhm/f90/progref.html
incl. Bubble sort
Multivariate Data Analysis Software in Fortran; HIERARCHICAL CLUSTERING using Minimum Variance Criterion
K-means
http://orion.math.iastate.edu/burkardt/f_src/kmeans/kmeans.f90
Source codes Fortran / Physics
http://www.dmoz.org/Computers/Programming/Languages/Fortran/Source_Code/Physics/
Source codes in Fortran
http://people.sc.fsu.edu/~jburkardt/f_src/f_src.html