Notes on Taylor and Maclaurin series derivation