Scientific programming : Java source code