merged duplicate lib/vortex.R - overwrote Florian's old stub with Carlo's newer version - we should only need one library file