Modifications and extensions to Rasmus Larsen's PROPACK