Continued testing of the pencil subroutines, now all functional