Automatic computer measurements of neurons