Removing custom function for getting the last day of the month. Closes #24