Notes on basic glaciological computational methods and algorithms